//
//  KRRecipeList.m
//  cookBook
//
//  Created by kuroken on 16/1/11.
//  Copyright © 2016年 kuroken. All rights reserved.
//

#import "KRRecipeList.h"
#import <MJExtension.h>
#import "__lldb_autogen_nspair.h"

@implementation KRRecipeList
+ (void)load
{
    [KRRecipeList mj_setupReplacedKeyFromPropertyName:^__lldb_autogen_nspair *{
        return (__lldb_autogen_nspair *)@{
                                          @"title" : @"Title",
                                          @"img" : @"Img",
                                          @"url" : @"Url"
                                          };
    }];
    
}

- (void)setUrl:(NSString *)url
{
    // 解码
    _url = [url stringByRemovingPercentEncoding];
}

@end
